package com.xinggq.auth.api.dto.login;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 登录响应DTO
 *
 * @author xinggq
 * @since 2024-01-01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(description = "登录响应")
public class LoginResponse {

  @Schema(description = "令牌信息")
  private TokenInfoDTO tokenInfo;

  @Schema(description = "用户信息")
  private AuthSafeUserInfoDTO userInfo;
}